﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="buyer_favoriteWeekEdit.aspx.cs"
    Inherits="PeisongWeb.buyer_favoriteWeekEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>采购配送系统-偏好设置</title>
    <!--#include file="../global.inc" -->
    <script src="/app_common/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="/app_common/scripts/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            if ($.browser.version == '6.0') {
                $('#ie6_fix_td').css('padding-bottom', '45px');
            }
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div id="container">
        <uc1:headerV2 runat="server" ID="header1" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color1">偏好设置</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <asp:UpdatePanel runat="server" ID="UpdatePanel1">
                        <ContentTemplate>
                            <div style="float: left; width: 48%;">
                                <table width="70%">
                                    <tr>
                                        <td id="ie6_fix_td" colspan="4" align="left" style="padding-bottom:10px;">
                                            <b>选择商品</b>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            大类：
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddl_CategoryRoot" DataTextField="name" DataValueField="categoryId"
                                                AutoPostBack="True" OnSelectedIndexChanged="ddl_CategoryRoot_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            小类：
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddl_CategorySub" DataTextField="name" DataValueField="categoryId"
                                                AutoPostBack="True" OnSelectedIndexChanged="ddl_CategorySub_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                                <table width="70%">
                                    <tr>
                                        <td width="35%" bgcolor="#e4eaee" align="left">
                                            商品编号
                                        </td>
                                        <td width="35%" bgcolor="#e4eaee" align="left">
                                            商品名称
                                        </td>
                                        <td width="30%" bgcolor="#e4eaee" align="center">
                                            选用
                                        </td>
                                    </tr>
                                </table>
                                <div style="width: 100%; height: 400px; overflow-x: hidden; overflow-y: auto;">
                                    <table width="70%">
                                        <asp:Repeater ID="rpt_list" runat="server" OnItemCommand="rpt_list_ItemCommand">
                                            <ItemTemplate>
                                                <tr>
                                                    <td>
                                                        &nbsp;
                                                    </td>
                                                    <td align="left">
                                                        <a href="javascript:void(showProductDetail('user_productDetail_<%#Eval("productId")%>.html', 700,500));">
                                                            <%# Eval("productNo")%>
                                                        </a>
                                                    </td>
                                                    <td align="left">
                                                        <a href="javascript:void(showProductDetail('user_productDetail_<%#Eval("productId")%>.html', 700,500));">
                                                            <%# Eval("name")%>
                                                        </a>
                                                    </td>
                                                    <td align="center">
                                                        <asp:LinkButton runat="server" ID="lbtn_Save" ForeColor="#0066CC" Text="选用" CommandArgument='<%# Eval("productId") %>'
                                                            CommandName="Sel"></asp:LinkButton>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </table>
                                </div>
                            </div>
                            <div style="float: right; width: 48%; overflow-x: hidden; overflow-y: auto;">
                                <table width="75%">
                                    <tr>
                                        <td>
                                            <iframe id="iframeSelectedList" runat="server" style="border: 0; width: 415px; height: 500px;
                                                overflow-x: hidden;overflow-y:auto; margin-left: 0px;" framespacing="0" marginheight="0" frameborder="0"
                                                allowtransparency="true"></iframe>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </div>
        </div>
        <uc1:footerV2 runat="server" ID="footer1" />
    </div>
    </form>
</body>
</html>
